package com.example.cpoopc.helloretrofit.bean;

import org.json.JSONException;
import org.json.JSONObject;


/**
 * @人信息
 * 
 * <br>Created 2014-9-1 上午9:42:10
 * @version  
 * @author   chenpeng		
 *
 * @see
 */
public class MentionInfo {
    public long uid;
    public String nickname;
    public int gender;
    public MentionInfo(long uid, String nickname, int gender) {
        super();
        this.uid = uid;
        this.nickname = nickname;
        this.gender = gender;
    }
    
    public JSONObject toJsonObject() throws JSONException{
        JSONObject jb = new JSONObject();
        jb.put("uid", uid);
        jb.put("nickname", nickname);
        jb.put("gender", gender);
        return jb;
    }
    
}
